package com.wei.czz.common.vo.blog.space;

import com.wei.czz.common.constant.RedisConstant;
import com.wei.czz.common.vo.common.BaseVo;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-05-14 14:38:00
 * className: SpaceFormVo 用户空间检索参数Vo类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class SpaceFormVo extends BaseVo {

    /**
     * 获取Redis-String缓存键
     */
    public String getSpaceListKey() {
        return RedisConstant.SPACE_LIST + RedisConstant.SPLIT + word  + RedisConstant.SPLIT + page
                + RedisConstant.SPLIT + limit  + RedisConstant.SPLIT + field  + RedisConstant.SPLIT + order;
    }

}
